package ai.engine;

import ai.Trackable;

public class AIResource implements Trackable {

	public short x;

	public short y;

	public byte unitType;

	public short getX() {
		return x;
	}

	public short getY() {
		return y;
	}

	public AIResource(short x, short y, byte unitType) {
		this.x = x;
		this.y = y;
		this.unitType = unitType;
	}

	public AIResource(Trackable target, byte unitType) {
		this.x = target.getX();
		this.y = target.getY();
		this.unitType = unitType;
	}
}
